package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 聊天详情对象 db_negotiation
 * 
 * @author ruoyi
 * @date 2025-03-22
 */
public class DbNegotiation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 聊天id */
    @Excel(name = "聊天id")
    private Long chatId;

    /** 发送内容 */
    @Excel(name = "发送内容")
    private String sendContent;

    /** 发送类型 */
    @Excel(name = "发送类型")
    private String sendType;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String backup;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setChatId(Long chatId) 
    {
        this.chatId = chatId;
    }

    public Long getChatId() 
    {
        return chatId;
    }

    public void setSendContent(String sendContent) 
    {
        this.sendContent = sendContent;
    }

    public String getSendContent() 
    {
        return sendContent;
    }

    public void setSendType(String sendType) 
    {
        this.sendType = sendType;
    }

    public String getSendType() 
    {
        return sendType;
    }

    public void setBackup(String backup) 
    {
        this.backup = backup;
    }

    public String getBackup() 
    {
        return backup;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("chatId", getChatId())
            .append("sendContent", getSendContent())
            .append("sendType", getSendType())
            .append("backup", getBackup())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
